Simplified the calling of the sort method