add sortBy
use const instead && type as possiblee