Added some sorting methods