Cache the result as sorted