Pull request for Issue665

@dretrex 
@davidChevrier 
Yeah, I saw that one too and checked it out ... comes right out of QSortFilterProxyModel :\