Add sorting methods