ticket:13 Added test that checks sorting by priority field
ticket:13 Added test that checks sorting by priority