refactor: change package names outbound -> back, inbound -> front
feat(sorting): sorting supported in REST api