Use Filters#item_property to fetch the property to sort by.

Fixes #2328 

/cc @penibelst since you were the one to originally create this `sort` filter