Snippets: Added SortRandom function