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

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