KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to sort in memory lists of strings or numbers in ascending or descending order. However, the list can contain null values and all null values must appear after the numbers or strings. That is the input data might be: 1, 100, null, 5, 32.3 The ascending result would be 1, 5, 32.3, 100, null The descending list would be 100, 32.3, 5, 1, null Any ideas on how to make this work?
Tags (comma-separated)
Save Edits
Cancel