Additional sorting methods added to collections.js