The sort attribute is not for the post edit page but for the output by use of the [cft] shortcode. You need to rearrange the value attribute manually. I will consider to add the sort attribute for the post edit page in the future release. Thanks.
I am also having this problem. I want to create attributes for multiple video elements using custom fields. I require the use of multiple values as multiple videos are being entered into a single post.
I’m finding that when I use custom fields straight out, they will display in the order they were entered, so if I enter in the values of “apple” “orange” “banana”, in that order, they output to:
0 => "apple"
1 => "orange"
2 => "banana"
And that works great! Now that I’m trying to use the Custom Field Types plugin to clean up the entry process, the order of these entries are getting mangled.
Any recommendations as to how I can maintain the order of multiple entries which share the same key? Is the plugin sorting them a certain way by default? I’m using the PHP Code system (and it works REALLY well, thank you!), so if there’s a way to sort them there, I’ll be happy to implement that.