Preserve sorting, when you modify the table

I changed the one-line code to multiple lines, so that it's possible to
debug.
Added optional parameter to $.bootstrapSortable, so that you can keep
the last sorting after you change the table and initialize again.